<ul class="#{$config.class}">
#{foreach from=$articles item=article name=a}
	#{if $smarty.foreach.a.index lt 3}
	<li>
		<a href="#{$article.url}">#{$article.title}</a>
		<a href="#{$article.cate.url}" class="cate">#{$article.cate_name}</a>
	</li>
	#{else}
	<li class="text_link"><a href="#{$article.url}">#{$article.title}</a></li>
	#{/if}
#{/foreach}
</ul>